package org.jeecg.modules.business.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 预定订单关联房间
 * @Author: jeecg-boot
 * @Date:   2023-03-25
 * @Version: V1.0
 */
@Data
@TableName("bus_booking_rooms")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bus_booking_rooms对象", description="预定订单关联房间")
public class BusBookingRooms implements Serializable {
    private static final long serialVersionUID = 1L;

	/**预定关联房间key*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "预定关联房间key")
    private String id;
	/**房间id*/
	@Excel(name = "房间id", width = 15)
    @ApiModelProperty(value = "房间id")
    private String roomId;
	/**关联预订订单id*/
	@Excel(name = "关联预订订单id", width = 15)
    @ApiModelProperty(value = "关联预订订单id")
    private String bookingOrdersId;
	/**预定批次id*/
	@Excel(name = "预定批次id", width = 15)
    @ApiModelProperty(value = "预定批次id")
    private String bookingBatchId;
	/**1散客2团队*/
	@Excel(name = "1散客2团队", width = 15)
    @ApiModelProperty(value = "1散客2团队")
    private Integer bookingType;
    /**layoutId房型id*/
    @Excel(name = "layoutId房型id", width = 15)
    @ApiModelProperty(value = "layoutId房型id")
    private String roomLayoutId;
    /**房间状态，1：未排房，2：已排房，3：已入住，4：已退房*/
    @Excel(name = "房间状态，1：未排房，2：已排房，3：已入住，4：已退房", width = 15)
    @ApiModelProperty(value = "房间状态，1：未排房，2：已排房，3：已入住，4：已退房")
    private Integer roomStatus;
    /**是否主房*/
    @Excel(name = "是否主房", width = 15)
    @ApiModelProperty(value = "是否主房")
    private Boolean isMain;

    @TableField(exist = false)
    private String layoutId;

    @TableField(exist = false)
    private String roomsName;

    @TableField(exist = false)
    private String livingOrderId;

}
